package com.book.service;

import com.book.entity.TbBook;
import com.book.param.BookAdd;
import com.book.vo.R;

/**
 * (TbBook)表服务接口
 *
 * @author makejava
 * @since 2024-11-07 19:53:30
 */
public interface TbBookService{
    R getBookList(Integer page, Integer pageSize,String bookName);

    R getBook(String bookName);

    /**
     * 上架图书
     * */
    R addBook(String token, BookAdd bookAdd);
    /**
     * 修改图书
     * */
    R updateBook(String token,BookAdd bookAdd);


    /**
     * 删除书籍
     * */
    R deleteBook(String token,Integer bookId);
}

